package com.ruoyi.ihome.mapper;

import com.ruoyi.ihome.domain.ApartmentFacility;

import java.util.List;

/**
 * 公寓设施Mapper接口
 * 
 * @author zy
 * @date 2024-08-13
 */
public interface ApartmentFacilityMapper 
{
    /**
     * 查询公寓设施
     * 
     * @param id 公寓设施主键
     * @return 公寓设施
     */
    public ApartmentFacility selectApartmentFacilityById(Long id);

    /**
     * 查询公寓设施列表
     * 
     * @param apartmentFacility 公寓设施
     * @return 公寓设施集合
     */
    public List<ApartmentFacility> selectApartmentFacilityList(ApartmentFacility apartmentFacility);

    /**
     * 新增公寓设施
     * 
     * @param apartmentFacility 公寓设施
     * @return 结果
     */
    public int insertApartmentFacility(ApartmentFacility apartmentFacility);

    /**
     * 修改公寓设施
     * 
     * @param apartmentFacility 公寓设施
     * @return 结果
     */
    public int updateApartmentFacility(ApartmentFacility apartmentFacility);

    /**
     * 删除公寓设施
     * 
     * @param id 公寓设施主键
     * @return 结果
     */
    public int deleteApartmentFacilityById(Long id);

    /**
     * 批量删除公寓设施
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApartmentFacilityByIds(Long[] ids);
}
